From 8ef6ef8ed28ac0f00bff5e644babc7986ef8488b Mon Sep 17 00:00:00 2001 From: "David R. MacIver" Date: Wed, 3 Jul 2019 09:50:42 +0100 Subject: [PATCH] Update name in tests --- .../tests/cover/test_conjecture_junkdrawer.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hypothesis-python/tests/cover/test_conjecture_junkdrawer.py b/hypothesis-python/tests/cover/test_conjecture_junkdrawer.py index ee33bc742b..21a3bff8c5 100644 --- a/hypothesis-python/tests/cover/test_conjecture_junkdrawer.py +++ b/hypothesis-python/tests/cover/test_conjecture_junkdrawer.py @@ -19,11 +19,11 @@ import pytest -from hypothesis.internal.conjecture.junkdrawer import MutableProxy +from hypothesis.internal.conjecture.junkdrawer import LazySequenceCopy def test_out_of_range(): - x = MutableProxy([1, 2, 3]) + x = LazySequenceCopy([1, 2, 3]) with pytest.raises(IndexError): x[3] @@ -33,7 +33,7 @@ def test_out_of_range(): def test_pass_through(): - x = MutableProxy([1, 2, 3]) + x = LazySequenceCopy([1, 2, 3]) assert x[0] == 1 assert x[1] == 2 assert x[2] == 3 @@ -41,14 +41,14 @@ def test_pass_through(): def test_can_assign_without_changing_underlying(): underlying = [1, 2, 3] - x = MutableProxy(underlying) + x = LazySequenceCopy(underlying) x[1] = 10 assert x[1] == 10 assert underlying[1] == 2 def test_pop(): - x = MutableProxy([2, 3]) + x = LazySequenceCopy([2, 3]) assert x.pop() == 3 assert x.pop() == 2