Skip to content

Commit

Permalink
fixup! Fix running tests with dot-notation for their name
Browse files Browse the repository at this point in the history
  • Loading branch information
timwoj committed Dec 13, 2022
1 parent c7792bd commit 8a84682
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions btest
Original file line number Diff line number Diff line change
Expand Up @@ -873,8 +873,7 @@ class Test(object):
name = os.path.relpath(basename, TestBase)
(name, ext) = os.path.splitext(name)

name = name.replace("/", ".")
name = name.replace("\\", ".")
name = name.replace(os.sep, ".")
while name.startswith("."):
name = name[1:]

Expand Down

0 comments on commit 8a84682

Please sign in to comment.