Skip to content

Commit

Permalink
Correcting a test method name.
Browse files Browse the repository at this point in the history
  • Loading branch information
phargogh committed Apr 9, 2024
1 parent 202e3f6 commit 400c04d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ def test_os_path_normalization_linux(self):
relative_to = os.path.join(self.workspace_dir, 'test.csv')
expected_path = os.path.join(self.workspace_dir, "foo/bar.shp")
path = utils.expand_path(rel_path, relative_to)
self.assertEquals(path, expected_path)
self.assertEqual(path, expected_path)

@unittest.skipIf(platform.system() != 'Windows',
"Function behavior differs across systems.")
Expand All @@ -1213,7 +1213,7 @@ def test_os_path_normalization_windows(self):
relative_to = os.path.join(self.workspace_dir, 'test.csv')
expected_path = os.path.join(self.workspace_dir, "foo\\bar.shp")
path = utils.expand_path(rel_path, relative_to)
self.assertEquals(path, expected_path)
self.assertEqual(path, expected_path)

def test_falsey(self):
"""Utils: test return None when falsey."""
Expand Down

0 comments on commit 400c04d

Please sign in to comment.