Fixed test that relied on the ``sys.getsizeof()`` function to not run on
pypy, where this function appears to have different behavior than it does
on cpython.
Fixes: #9789
Change-Id: I07b52197c3537c0a3fb7bec0f2caa587dc04cc86
--- /dev/null
+.. change::
+ :tags: bug, tests, pypy
+ :tickets: 9789
+
+ Fixed test that relied on the ``sys.getsizeof()`` function to not run on
+ pypy, where this function appears to have different behavior than it does
+ on cpython.
Base.registry.configure()
@testing.combinations(
- "tuples", ("memory", testing.requires.is64bit), argnames="assert_on"
+ "tuples",
+ ("memory", testing.requires.is64bit + testing.requires.cpython),
+ argnames="assert_on",
)
def test_cache_key_gen(self, assert_on):
Employee = self.classes.Employee