removing some warnings
This commit is contained in:
@@ -14,8 +14,7 @@ from django.utils.six import BytesIO
|
||||
from PIL import Image
|
||||
from io import StringIO
|
||||
|
||||
import warnings
|
||||
warnings.simplefilter("error")
|
||||
|
||||
|
||||
def create_image(storage, filename, size=(100, 100), image_mode='RGB', image_format='PNG'):
|
||||
"""
|
||||
@@ -321,7 +320,7 @@ class WorkoutViewTest(TestCase):
|
||||
form_data = {
|
||||
'xaxis':'time',
|
||||
'yaxis1':'power',
|
||||
'yaxis2':'driveenergy',
|
||||
'yaxis2':'pace',
|
||||
'yaxis3':'hr',
|
||||
'yaxis4':'spm'
|
||||
}
|
||||
@@ -343,7 +342,7 @@ class WorkoutViewTest(TestCase):
|
||||
|
||||
url = expected_url
|
||||
form_data = {
|
||||
'cols':['driveenergy','spm']
|
||||
'cols':['hr','spm']
|
||||
}
|
||||
form = DataFrameColumnsForm(form_data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user