Skip to content

Commit 5dcc5d1

Browse files
committed
Rename all test files to be picked up by pytest
1 parent ecf8db4 commit 5dcc5d1

20 files changed

+1
-2
lines changed

mapscript/python/tests/cases/hashtest.py mapscript/python/tests/cases/hash_test.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ def tearDown(self):
129129

130130
def testConstructor(self):
131131
table = mapscript.hashTableObj()
132-
tabletype = type(table)
133-
assert str(tabletype) == "<class 'mapscript.hashTableObj'>", tabletype
132+
assert table.__class__.__name__== "hashTableObj", table
134133

135134

136135
# ==============================================================================

0 commit comments

Comments
 (0)