summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_random.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_random.py')
-rw-r--r--Lib/test/test_random.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_random.py b/Lib/test/test_random.py
index b8d0b5d..9c2e0d0 100644
--- a/Lib/test/test_random.py
+++ b/Lib/test/test_random.py
@@ -79,7 +79,7 @@ class TestBasicOps(unittest.TestCase):
def factorial(n):
return reduce(int.__mul__, xrange(1, n), 1)
for k in xrange(n):
- expected = factorial(n) / factorial(n-k)
+ expected = factorial(n) // factorial(n-k)
perms = {}
for i in xrange(trials):
perms[tuple(self.gen.sample(pop, k))] = None