Skip to content

Commit

Permalink
Merge pull request #69 from svisser/patch-1
Browse files Browse the repository at this point in the history
Adapted PyPy check to use platform.python_implementation
  • Loading branch information
dnephin committed Dec 12, 2014
2 parents 5f8c4d4 + dfd4328 commit c1a59cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/config_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gc
import os
import sys
import platform
import tempfile
import time

Expand Down Expand Up @@ -72,7 +72,7 @@ def test_register_get_value_proxies(self):
self.namespace.register_proxy(mock_proxy)
assert_equal(self.namespace.get_value_proxies(), proxies)

@pytest.mark.skipif('PyPy' in sys.version, reason="Fails on PyPy")
@pytest.mark.skipif('PyPy' in platform.python_implementation(), reason="Fails on PyPy")
def test_get_value_proxies_does_not_contain_out_of_scope_proxies(self):
assert not self.namespace.get_value_proxies()
def a_scope():
Expand Down

0 comments on commit c1a59cc

Please sign in to comment.