From: Nick Morrott <knowledgejunkie@gmail.com>
Date: Sun, 24 May 2020 10:21:35 -0700
Subject: Remove references to non-DFSG-compatible resources

Forwarded: not-needed
Last-Update: 2019-01-16

We remove eep.wav during repacking due to unknown provenance, and
update the relevant test to expect one fewer resource copy
Last-Update: 2019-01-16
---
 mu/logic.py         | 2 --
 tests/test_logic.py | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/mu/logic.py b/mu/logic.py
index ebd9cd2..a3b1123 100644
--- a/mu/logic.py
+++ b/mu/logic.py
@@ -599,8 +599,6 @@ class Editor:
         if not os.path.exists(sounds_path):
             logger.debug('Creating directory: {}'.format(sounds_path))
             os.makedirs(sounds_path)
-            shutil.copy(path('eep.wav', 'pygamezero/'),
-                        os.path.join(sounds_path, 'eep.wav'))
         if not os.path.exists(music_path):
             logger.debug('Creating directory: {}'.format(music_path))
             os.makedirs(music_path)
diff --git a/tests/test_logic.py b/tests/test_logic.py
index 8c908ce..2a154e3 100644
--- a/tests/test_logic.py
+++ b/tests/test_logic.py
@@ -660,7 +660,7 @@ def test_editor_setup():
         e.setup(mock_modes)
         assert mkd.call_count == 5
         assert mkd.call_args_list[0][0][0] == 'foo'
-        assert mock_shutil.call_count == 3
+        assert mock_shutil.call_count == 2
     assert e.modes == mock_modes
     view.set_usb_checker.assert_called_once_with(1, e.check_usb)
 
