From 99cf723375bfd5a2ac37d38e1f8b8ece1743aed3 Mon Sep 17 00:00:00 2001
From: qwint <qwint.42@gmail.com>
Date: Tue, 6 Aug 2024 18:00:10 -0500
Subject: [PATCH] quick fix to deepcopy the state getting passed around

---
 test/general/test_items.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/general/test_items.py b/test/general/test_items.py
index 7214b3d56307..86ce40b5081f 100644
--- a/test/general/test_items.py
+++ b/test/general/test_items.py
@@ -1,4 +1,5 @@
 import unittest
+from copy import deepcopy
 
 from worlds.AutoWorld import AutoWorldRegister, call_all
 from . import setup_solo_multiworld
@@ -34,7 +35,7 @@ def test_create_item(self):
                         multiworld.state.collect(item)
                         self.assertEqual(base_state, multiworld.state.prog_items)
 
-                multiworld.state.prog_items = empty_prog_items
+                multiworld.state.prog_items = deepcopy(empty_prog_items)
 
     def test_item_name_group_has_valid_item(self):
         """Test that all item name groups contain valid items. """