Skip to content

Commit

Permalink
Skip RAM4K/RAM16K test on CPython because too slow
Browse files Browse the repository at this point in the history
  • Loading branch information
mlouielu committed Jul 4, 2017
1 parent 74c2cc9 commit 02fc4b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_ram.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# found in the LICENSE file.
#

import sys
import os
import unittest
from collections import namedtuple
Expand Down Expand Up @@ -55,12 +56,14 @@ class RAM512Test(unittest.TestCase, RAMTest):
ram = RAM()


@unittest.skipIf('PyPy' not in sys.version, 'Too slow in CPython')
class RAM4KTest(unittest.TestCase, RAMTest):
RAM = seq.RAM4K
CMP_DATA = 'RAM4K.cmp'
ram = RAM()


@unittest.skipIf('PyPy' not in sys.version, 'Too slow in CPython')
class RAM16KTest(unittest.TestCase, RAMTest):
RAM = seq.RAM16K
CMP_DATA = 'RAM16K.cmp'
Expand Down

0 comments on commit 02fc4b5

Please sign in to comment.