mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-08-10 14:59:06 +02:00
general: Make pywal compatible with python 3.5
This commit is contained in:
@ -49,10 +49,9 @@ class TestUtil(unittest.TestCase):
|
||||
|
||||
def test_create_dir(self):
|
||||
"""> Create a directory."""
|
||||
tmp_dir = pathlib.Path("/tmp/test_dir")
|
||||
tmp_dir = "/tmp/test_dir"
|
||||
util.create_dir(tmp_dir)
|
||||
result = tmp_dir.is_dir()
|
||||
self.assertTrue(result)
|
||||
self.assertTrue(os.path.isdir(tmp_dir))
|
||||
os.rmdir(tmp_dir)
|
||||
|
||||
def test_hex_to_rgb_black(self):
|
||||
|
Reference in New Issue
Block a user