Skip to content

Commit

Permalink
removed flaky flag
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasvinaya committed Oct 4, 2023
1 parent 1996637 commit 4164305
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deepchem/models/torch_models/tests/test_gan.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# import numpy as np
import pytest
# import tempfile
from flaky import flaky

try:
import torch
import torch.nn as nn
import torch.nn.functional as F

# helper classes that depend on torch, they need to be in the try/catch block
class Generator(nn.Module):
"""A simple generator for testing."""

Expand Down Expand Up @@ -116,7 +116,6 @@ def create_discriminator(data_input_shape, conditional_input_shape):
Discriminator(data_input_shape, conditional_input_shape))


@flaky
@pytest.mark.torch
def test_forward_pass():
batch_size = 16
Expand Down Expand Up @@ -149,7 +148,6 @@ def test_forward_pass():
assert disc_loss > 0


@flaky
@pytest.mark.torch
def test_get_noise_batch():
batch_size = 16
Expand Down

0 comments on commit 4164305

Please sign in to comment.