Inconsistent test result 3.9 vs 3.10

This commit is contained in:
Griatch 2022-02-05 19:48:15 +01:00
parent d55136e852
commit 5fdadb7362

View file

@ -7,7 +7,7 @@ from random import randint, sample
import mock import mock
import uuid import uuid
from time import time from time import time
from anything import Something from anything import Something, Anything
from django.test.utils import override_settings from django.test.utils import override_settings
from evennia.utils.test_resources import EvenniaTest from evennia.utils.test_resources import EvenniaTest
from evennia.utils.tests.test_evmenu import TestEvMenu from evennia.utils.tests.test_evmenu import TestEvMenu
@ -363,7 +363,7 @@ class TestProtFuncs(EvenniaTest):
) )
self.assertEqual( self.assertEqual(
protlib.protfunc_parser("$right_justify( foo )", testing=True), protlib.protfunc_parser("$right_justify( foo )", testing=True),
(None, " foo"), (Anything, " foo"),
) )
test_prot = {"key1": "value1", "key2": 2} test_prot = {"key1": "value1", "key2": 2}