Skip to content

Commit 6250e35

Browse files
committed
Fix several flake issues
1 parent 82e050b commit 6250e35

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

fireflyalgorithm/tests/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

fireflyalgorithm/tests/test_firefly.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
import numpy as np
44
from fireflyalgorithm import FireflyAlgorithm
5-
import os
65

76
def sphere(x):
87
return np.sum(x ** 2)
98

9+
1010
class TestFA(TestCase):
11+
1112
def test_algorithm(self):
1213
FA = FireflyAlgorithm()
1314
best = FA.run(function=sphere, dim=10, lb=-5, ub=5, max_evals=10000)

tests/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

0 commit comments

Comments
 (0)