aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Ionite <[email protected]>2023-02-22 16:24:56 -0500
committerGravatar Ionite <[email protected]>2023-02-22 16:24:56 -0500
commitd29e8c6c4240a5e9cb5293788529621ee919c0b7 (patch)
tree81080f443bd99efc85ecc10c32e3fa5a656939a2 /tests
parentUpdate budget lines and chars for text to be shared with stdout (diff)
Use PurePosixPath so tests work on windows
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/exts/utils/snekbox/test_io.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/bot/exts/utils/snekbox/test_io.py b/tests/bot/exts/utils/snekbox/test_io.py
index a544a2056..bcf1162b8 100644
--- a/tests/bot/exts/utils/snekbox/test_io.py
+++ b/tests/bot/exts/utils/snekbox/test_io.py
@@ -1,5 +1,4 @@
-import platform
-from unittest import TestCase, skipIf
+from unittest import TestCase
# noinspection PyProtectedMember
from bot.exts.utils.snekbox import _io
@@ -7,9 +6,6 @@ from bot.exts.utils.snekbox import _io
class SnekboxIOTests(TestCase):
# noinspection SpellCheckingInspection
- # Skip Windows since both pathlib and os strips the escape sequences
- # and many of these aren't valid Windows file paths
- @skipIf(platform.system() == "Windows", "File names normalizer tests requires Unix-like OS.")
def test_normalize_file_name(self):
"""Invalid file names should be normalized."""
cases = [