Fix lint and test failures caused by bad merge

This commit is contained in:
rallytime 2018-08-31 14:08:58 -04:00
parent f7226f400f
commit a97a7b0d08
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19
2 changed files with 3 additions and 4 deletions

View file

@ -67,7 +67,7 @@ class ArchiveTest(ModuleCase):
filename = 'file®'
else:
filename = 'file'
with salt.utils.files.fopen(os.path.join(self.src, filename), 'w') as theorem:
with salt.utils.files.fopen(os.path.join(self.src, filename), 'wb') as theorem:
if six.PY3 and salt.utils.platform.is_windows():
encoding = 'utf-8'
else:
@ -79,12 +79,12 @@ class ArchiveTest(ModuleCase):
Blum complexity measure $Φ$ where a complexity class for a
boundary function $f$ is defined as
$\mathrm C(f) := \{φ_i \mathbb R^{(1)} | (^ x) Φ_i(x) f(x)\}$.
$\\mathrm C(f) := \\{φ_i \\mathbb R^{(1)} | (^ x) Φ_i(x) f(x)\\}$.
Then there exists a total computable function $f$ so that for
all $i$
$\mathrm{Dom}(φ_i) = \mathrm{Dom}(φ_{f(i)})$
$\\mathrm{Dom}(φ_i) = \\mathrm{Dom}(φ_{f(i)})$
and

View file

@ -7,7 +7,6 @@
from __future__ import absolute_import, print_function, unicode_literals
import os
import traceback
import yaml
# Import Salt Testing Libs
from tests.support.case import ShellCase